package cn.tedu.four.ex;

import cn.tedu.four.web.ServiceCode;

/**
 * ClassName: ServiceException
 * Package: cn.tedu.four.ex
 * Description:
 *
 * @Author: @Albert
 * @Version: 1.0
 */

public class ServiceException extends RuntimeException{
    private ServiceCode serviceCode;


    public ServiceException(ServiceCode serviceCode, String message) {
        super(message);
        this.serviceCode = serviceCode;
    }

    public ServiceCode getServiceCode() {
        return serviceCode;
    }
}
